<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
        xmlns:ace="http://www.icefaces.org/icefaces/components">
    <h:head>
        <title>Message</title>
        <style type="text/css" media="screen">
@import url("css/layout.css");
</style>
    </h:head>
    <h:body>
        <h:form>
       <ace:panel >
                        bonjour #{envoyeMessage.lemembre.firstNameMembers}
                        <br />
                        bonjour #{envoyeMessage.lemembre.idMembers}

                        <h:form>
                            <ace:textEntry value="#{envoyeMessage.lemembre.idMembers}" label="mon email" labelPosition="left" /><br />
                            <ace:textEntry value="#{envoyeMessage.lemessage.idFromMembers}" label="mon email" labelPosition="left" /><br />
                            <ace:textAreaEntry value="#{envoyeMessage.lemessage.contentMessage}" required="true"/>
                            <h:commandButton value="Envoyer" action="#{envoyeMessage.inserermessage()}"/>
                        </h:form>



                    </ace:panel>
                    <ace:panel style="position:  right;width: 550px">
                        <ace:dataTable  id="marqueTable"
                                        value="#{listeMembres.mesMembres}"
                                        var="membre"                   
                                        rows="10" >

                            <ace:column style="width: 550px" id="noserie1" headerText="Username">
                                <h:outputText  id="noserie" value="#{membre.usernameMembers}"/>
                            </ace:column>   

                            <ace:column style="width: 300px" id="noseriee12" headerText="Action">
                                <ace:linkButton id="ajouter" value="ajouter un email" />
                            </ace:column> 

                            <br />        

                        </ace:dataTable>
                    </ace:panel>

             </h:form>
    </h:body>
</html>

